import React, { Component } from 'react';

// 子组件
export class Child extends Component {
  render() {
    console.log('子', this.props);
    return (
      <div>
        <hr />
        <h2>Child</h2>
        <h1>{this.props.lastName}</h1>
        <div>money: {this.props.money}</div>
      </div>
    );
  }
}
